from numpy.f2py.crackfortran import dimensionpattern
from pymilvus import MilvusClient

if __name__ == '__main__':
    client = MilvusClient("http://123.60.131.133:19530")
    collectionName = "demo_collection"
    if client.has_collection(collectionName):
        client.drop_collection(collectionName)
    client.create_collection(collection_name=collectionName,
                           dimension=68)
    print(client.list_collections())